package name.fowler.refactoring.simplestore.reporter.report;


public class Cell {
	
	private String value;
	private CellType type;
	
	public Cell(String value) {
		this.value = value;
		this.type = CellType.String;
	}
	
	public Cell(long value) {
		this.value = Long.toString(value);
		this.type = CellType.Long;
	}

	public Cell(double value) {
		this.value = Double.toString(value);
		this.type = CellType.Double;
	}

	public String getValue() {
		return value;
	}
	
	public CellType getType() {
		return type;
	}
	
}
